package com.example.anliku.service;

import com.example.anliku.entity.Comment;
import com.example.anliku.entity.Message;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface CommentService {


    Message deleteByPrimaryKey(Integer commentId, Integer exampleId);

    Message insert(Comment comment);

    Message insertSelective(Comment comment);

    Message selectByPrimaryKey(Integer commentId);

    Message updateByPrimaryKeySelective(Comment comment);

    Message updateByPrimaryKey(Comment comment);

    Message selectAll();

    Message updateByCommentIdAndCommentState(Integer commentId, Integer commentState, String addedCommentCheckId);

    List<Map> returnSum();

}


